extends Node2D

var cell_pos = Vector2() #在tilemap 的坐标

func _ready():
	pass # Replace with function body.


func _on_AnimatedSprite_animation_finished():
	queue_free()
	pass # Replace with function body.




func _on_FireArea2D_body_entered(body):
	if body.get_groups().has("bomb"):
		body.bomb_boom()
	if body.get_groups().has("player"):
		body.player_hurn(10)
	if body.get_groups().has("enemy"):
		body.queue_free()
	
